﻿@{
    var type = Model.GetType();
    var data = type.GetProperty("Data").GetValue(Model, null);
    var template = type.GetProperty("Template").GetValue(Model, null);
    var provider = new GridviewDataProvider();
}

<a href="@provider.Get(data, template.FilePath)">查看</a>
